.memo {
  &__container {
    height: calc(100vh - 140px);
    padding: 10px;
    .vditor {
      border: none;
    }
    .vditor-toolbar {
      border: none;
    }
    .vditor-reset {
      padding: 20px !important;
      p {
        line-height: 30px;
      }
    }
  }
  &__textarea {
    height: calc(100% - 20px);
    width: 100%;
    border: 0;
    outline: none;
    background-image: linear-gradient(transparent 29px, #f2f2f2);
    background-size: 100% 30px;
    background-attachment: local;
    line-height: 30px;
    padding: 0 10px;
  }
  &-content-list-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    position: relative;
    padding-right: 10px;
    &__title {
      font-weight: bold;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    &__desc {
      font-size: 12px;
      color: #999999;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    &__delete {
      position: absolute;
      width: 10px;
      height: 100%;
      right: -6px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ddd;
      border-radius: 4px;
      opacity: 0;
      transition: all 0.2s;

      &:hover {
        opacity: 1;
      }
      span {
        position: relative;
        width: 100%;
        height: 100%;
        &::before {
          position: absolute;
          content: '';
          width: 8px;
          height: 1px;
          background-color: #666;
          transform: rotate(-45deg);
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          margin: auto;
        }
        &::after {
          position: absolute;
          content: '';
          width: 8px;
          height: 1px;
          background-color: #666;
          transform: rotate(45deg);
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          margin: auto;
        }
      }
    }
  }
}
